pp108 : Creating ClickChoice Relations

Creating ClickChoice Relations

This topic describes the ClickChoice feature.

Before you begin this task:
Ensure that the application to be displayed as a ClickChoice relation is created, published, and available for use.

A major purpose of Web applications is the display of data to users. In their first interaction with users, most applications provide relevant information only to an optimal level of complexity. Additionally, navigation options are made available to users to enable them to delve further into additional detailed information.

The ClickChoice feature of Process Platform XForms provides you a similar functionality. This feature enables you to define context-menu options that are used to drill down to details of the information visible in a control. Depending on the various kinds of related information that need to be made accessible to users, you can define multiple ClickChoice relations for a control.

At run time, each ClickChoice relation displays as a context menu option on the right-click of the control. Selecting an option, opens a window that displays the detailed data.

The ClickChoice feature is available for the Input, Output, Text area, and Code Snippet controls. You can define ClickChoice relations for these controls through their property sheet.

  1. Open the XForm containing the controls for which you need to define the ClickChoice relations.
  2. Double-click the control to display its property sheet. Alternatively, right-click and select Properties. The <control name> dialog box displays.
  3. Click ClickChoice Relation to expand the group box. It displays a table displays comprising the Caption column.
  4. Click in the toolbar to add a ClickChoice relation.
  5. Click in the Caption column. The Application Definition dialog box displays.
  6. In the Menu Caption field, type the text that must display as an option in the context menu of the control. This text will also display under ClickChoice Relation in the property sheet.
  7. Click for the URL field to specify a ClickChoice application. The Select a URL dialog box displays.
  8. Select a URL from the Select a URL dialog box and click OK. The selected URL is displayed in the URL field of the Application Definition dialog box.
  9. In the ClickChoice Application Definition Properties area, provideother application definition details for the application that will display when this ClickChoice relation is selected. For information about the fields, see Application Definition.
  10. Click OK to save the changes and close the Application Definition dialog box. The Menu Caption displays in the Caption column under ClickChoice Relation in the property sheet.

You can follow the above procedure to add multiple ClickChoice relations to a control. To do so, click in the ClickChoice Relation group box and repeat the steps 5 to

7. The ClickChoice relations will display as context-menu options of the control at run time.

Note:
ClickChoice is not supported for the controls in XGrid.